import { Injectable } from '@angular/core';

import { BaseService } from '../base.service';

export interface Dashboard {
  id: number;
  name: string;
  description: string;
  addtime: Date;
  updatetime: Date;
  adduserid: number;
  updateuserid: number;
  layout: string;
}

@Injectable({
  providedIn: 'root'
})
export class DashboardService extends BaseService<Dashboard> {
  constructor() {
    super();
    this.apiPrefix = 'dashboard';
  }
}
